<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:81:"C:\myphp_www\PHPTutorial\WWW\onebase\public/../app/admin\view\test\test_edit.html";i:1537324507;s:88:"C:\myphp_www\PHPTutorial\WWW\onebase\public/../app/admin\view\layout\edit_btn_group.html";i:1537315237;}*/ ?>
<form action="<?php echo url(); ?>" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>学号</label>
              <input class="form-control" name="number" placeholder="请输入学号" value="<?php echo (isset($info['number']) && ($info['number'] !== '')?$info['number']:''); ?>" type="text">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>姓名</label>
              <input class="form-control" name="name" placeholder="请输入姓名" value="<?php echo (isset($info['name']) && ($info['name'] !== '')?$info['name']:''); ?>" type="text">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>职务</label>
              <select name="job" >
                <option value="班长">班长</option>
                <option value="团支书">团支书</option>
                <option value="组织委员">组织委员</option>
                <option value="宣传委员">宣传委员</option>
                <option value="学习委员">学习委员</option>
                <option value="生活委员">生活委员</option>
                <option value="体育委员">体育委员</option>
                <option value="文艺委员">文艺委员</option>
              </select>
            </div>
          </div> 
             
           <div class="col-md-6">
            <div class="form-group">
              <label>观众次数</label>
              <input class="form-control" name="view" placeholder="请输入观众次数" value="<?php echo (isset($info['view']) && ($info['view'] !== '')?$info['view']:''); ?>" type="text">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>青协活动次数</label>
              <input class="form-control" name="help" placeholder="请输入参加的青协活动次数" value="<?php echo (isset($info['help']) && ($info['help'] !== '')?$info['help']:''); ?>" type="text">
            </div>
          </div> 
            
          <div class="col-md-6">
            <div class="form-group">
              <label>比赛</label>
               <textarea class="form-control" name="game" rows="3" placeholder="请输入参加比赛"><?php echo (isset($info['game']) && ($info['game'] !== '')?$info['game']:''); ?></textarea>
            </div>
          </div> 
            
          <div class="col-md-6">
            <div class="form-group">
              <label>等级考试</label>
              <textarea class="form-control" name="test" rows="3" placeholder="请输入通过的等级考试"><?php echo (isset($info['test']) && ($info['test'] !== '')?$info['test']:''); ?></textarea>
            </div>
          </div> 
          
          <div class="col-md-6">
            <div class="form-group">
                <label>其他</label>
                <textarea class="form-control" name="other" rows="3" placeholder="请输入所获荣誉或者自习"><?php echo (isset($info['other']) && ($info['other'] !== '')?$info['other']:''); ?></textarea>
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>总分</label>
              <input class="form-control" name="all" placeholder="请输入所获总分" value="<?php echo (isset($info['all']) && ($info['all'] !== '')?$info['all']:''); ?>" type="text">
            </div>
          </div> 

        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="<?php echo (isset($info['id']) && ($info['id'] !== '')?$info['id']:'0'); ?>"/>
        
        <button  type="submit" class="btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
    <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
</button>

<a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>
      </div>
        
      </div>

</form>